#ifndef READER_H
#define READER_H

#include <QObject>
#include <QDebug>

class Reader : public QObject
{
    Q_OBJECT
public:
    Reader();

    // 收到信息之后，反馈
    void receiveNewspaper(const QString & name);

    // 执行触发的功能
    void exect();

    // 触发槽
    void read_send()
    {
        qDebug() << "this is count_reader";
        exect();
        emit count_reader();
    }



signals:
    void count_reader();
};

#endif // READER_H
